<?php 
include_once '../../Control/controle.php';
session_start();
$usuario = $_SESSION['usuario'];
?>



<?php
session_start();



$msg1 = "Seja Bem-Vindo ";
$msg2 = $_SESSION['usuario']->nome;
?>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN" dir="ltr">
    <head profile="http://gmpg.org/xfn/11">
        <title>EAIManager 2013 - partiu jogar?</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="imagetoolbar" content="no" />
        <link rel="stylesheet" href="../../css/estilo.css" type="text/css" />
        <script type="text/javascript" src="../../js/jquery-1.4.1.min.js"></script>
        <script type="text/javascript" src="../../js/jquery.jcarousel.pack.js"></script>
        <script type="text/javascript" src="../../js/jquery.jcarousel.setup.js"></script>
        <script type="text/javascript" src="../../js/validacao.js"></script>  
    </head>
    <body id="top">
        <!-- ####################################################################################################### -->
        <div class="wrapper col1">
            <div id="header">
                <div id="logo" class="fltleft">
                    <h1><a href="#">EAIManager</a></h1>
                    <p>partiu jogar? </p> 
                </div> 
                <div id="divlogin">

                    <a href="">
                        <?php echo $msg1;
                        echo $msg2;
                        ?>
                    </a>! <a href="http://localhost/projeto/Control/controle.php?acao=sair"> Sair[X]</a>
                    <!--                    <a href="usuario/edita.php">Editar informações</a><>
                                        <a href="time/cadastro.php">Criar Time</a>
                                        <a href="../Control/controle.php?acao=editarTime">Meu Time</a>-->
                    </a>
                </div>

                <br class="clear" />
            </div>
        </div>
        <!-- ####################################################################################################### -->
        <div class="wrapper col3">


            
            <div id="caixa">
                <nav id="menu">
	<ul>
		<li><a href="http://localhost/projeto/View/painel.php">Painel de Controle</a></li>
                <li><a href="http://localhost/projeto/Control/controle.php?acao=editarTime">Meu time</a></li>
		<li><a href="http://localhost/projeto/View/usuario/edita.php">Informações</a></li>
		<li><a href="http://localhost/projeto/View/lista_transferencia.php">Mercado</a></li>
		<li><a href="http://localhost/projeto/Control/controleJogo.php">Jogo</a></li>
	</ul>
</nav>
<br><br>
                 <form id="cadastro" name="cadastro" method="post" action="../../Control/controle.php?acao=editar" onsubmit="return validaCampo(); return false;">
            <table>
                <tr>
                    <td>Nome:</td>
                    <td><input name="nome" type="text" id="nome" size="70" maxlength="60" value='<?php echo $usuario->nome; ?>'/>
                        <span class="style1">*</span></td>
                </tr>
                <tr>
                    <td>Email:</td>
                    <td><input name="email" type="text" id="email" size="70" maxlength="60" value='<?php echo $usuario->email; ?>' />
                        <span class="style1">*</span></td>
                </tr>
               
                <tr>
                    <td>Data de nascimento:</td>
                    <td><input name="nascimento" type="text" id="nascimento" size="30" maxlength="20" value='<?php echo $usuario->nascimento; ?>'/>
                        <span class="style1">*</span></td>
                </tr>

                <tr>
                    <td>Cidade:</td>
                    <td><input name="cidade" type="text" id="cidade" maxlength="20" value='<?php echo $usuario->cidade; ?>'/>
                        <span class="style1">*</span></td>
                </tr>
                <tr>
                    <td>Estado:</td>
                    <td><select name="estado" id="estado" value='<?php echo $usuario->estado; ?>'>
                            <option value='<?php echo $usuario->estado; ?>'><?php echo $usuario->estado; ?></option>
                            <option value="AC">AC</option>
                            <option value="AL">AL</option>
                            <option value="AP">AP</option>
                            <option value="AM">AM</option>
                            <option value="BA">BA</option>
                            <option value="CE">CE</option>
                            <option value="ES">ES</option>
                            <option value="DF">DF</option>
                            <option value="MA">MA</option>
                            <option value="MT">MT</option>
                            <option value="MS">MS</option>
                            <option value="MG">MG</option>
                            <option value="PA">PA</option>
                            <option value="PB">PB</option>
                            <option value="PR">PR</option>
                            <option value="PE">PE</option>
                            <option value="PI">PI</option>
                            <option value="RJ">RJ</option>
                            <option value="RN">RN</option>
                            <option value="RS">RS</option>
                            <option value="RO">RO</option>
                            <option value="RR">RR</option>
                            <option value="SC">SC</option>
                            <option value="SP">SP</option>
                            <option value="SE">SE</option>
                            <option value="TO">TO</option>
                        </select>
                        <span class="style1">*      </span></td>
                </tr>
                <tr>
                    <td>País:</td>
                    <td><input name="pais" type="text" id="pais" maxlength="20" value='<?php echo $usuario->pais; ?>'/>
                        <span class="style1">*</span></td>
                </tr>
                <tr>
                    <td>Senha:</td>
                    <td><input name="senha" type="password" id="senha" maxlength="12" value='<?php echo $usuario->senha; ?>'/>
                        <span class="style1">*</span></td>
                </tr>

                <tr>
                    <td><p>
                            <input name="editar" type="submit" id="cadastrar" value="Concluir edição!" /> 
                            <br />
                            <input name="limpar" type="reset" id="limpar" value="Limpar Campos preenchidos!" />
                            <br />
                            <span class="style1">Campos com * são obrigatórios!</span></p>
                    </td>
                </tr>
            </table>
        </form>

                <br class="clear" />
            </div>

        </div>
        <!-- ####################################################################################################### -->
        <div class="wrapper col4">
            <div id="footer">
                <br class="clear" />
            </div>
        </div>
        <!-- ####################################################################################################### -->
        <div class="wrapper col5">
            <div id="copyright">
                <p class="fl_left">Copyright &copy; 2013 - All Rights Reserved - <a href="#">EAICode</a></p>
                <br class="clear" />
            </div>
        </div>
    </body>
</html>



       